<!DOCTYPE html>
<!--suppress ALL -->
<html lang="en">
<head>
    <script src="js/jquery-3.1.1.min.js"></script>
    <script src="js/index.js"></script>
    <script src="js/select2.js"></script>
    <script src="js/index-jz.js"></script>
    <script src="js/index-ceo.js"></script>
    <script src="js/index-market.js"></script>
    <script src="js/index-management.js"></script>
    <script src="js/index-product.js"></script>
    <script src="js/index-factory.js"></script>
    <script src="js/index-capital.js"></script>
      <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="style/index.css">
    <link rel="stylesheet" type="text/css" href="style/select2.css">
    <link rel="stylesheet" type="text/css" href="style/table-sheet.css">
    <link rel="shortcut icon" href="/favicon.ico"/>
    <link rel="bookmark" href="/favicon.ico"/>
    <title>杭州电子科技大学ERP财务虚拟仿真实验</title>
    <script>


        function SetCash() {
            //财务部现金
            $.ajax({
                type: "post",
                dataType: "json",
                url: "/AccountBalance/moneyTotal",
                contentType: "application/json;charset=utf-8;",
                success: function (data) {
                    data = data['data'];
                    $('#cash').text(parseInt(data['moneytotal']));
                }
            })



        }

        $(document).ready(function () {

            var myJson = { myname :'0000'};
            //获取当前用户、当前会计期间、公司ID，初始化前端对应的全局参数
            $.ajax({
                type: "post",
                dataType: "json",
                data: JSON.stringify(myJson),
                url: "/SysUser/getCurrentInfo?tm="+new Date().getTime(),
                contentType: "application/json;charset=utf-8;",
                success: function (data) {
                    data = data['data'];
                    $("#currentAp").val(data.currentAp);
                    $("#currentUser").val(data.currentUser);
                    $("#currentTeam").val(data.currentTeam);
                    $("#eId").val(data.currentEId);
                    $("#userset-period").html(data.currentAp);
                    $("#userset-user").html(data.currentTeam);
                    $("#userset-ilabname").html(data.currentIlabName);
                    var period = data.currentAp;
                    var str = "第"+Math.ceil(period/4)+"年"+(period%4==0?4:period%4)+"季";
                    $("#tip-period").html(str);
                }
            });
            SetCash();
        })







    </script>
</head>
<body>

<div id="wrap">
    <div id="wrapper">
        <div class="erp">
            <div class="content">
                <input name="jz" id="jz"  type="button"  title="点击结束本期经营并结转到下一期"/>
                <div id="ceo">
                    <input name="financial-report" id="ceo-cw" type="button" title="点击查看财务报告"/>
                    <!--财务弹出框资产负债表-利润表-->
                    <div class="pop">
                        <div class="pop-head">
                            <input type="button" value="关闭" class="pop-cancel pop-close">
                        </div>
                        <div class="tab-contain">
                            <ul id="tabs">
                                <li class="current"><a href="#" title="tab1">资产负债表</a></li>
                                <li><a href="#" title="tab2">利润表</a></li>
                            </ul>
                            <div id="pop-content">
                                <div id="tab1" class="item show">
                                    <iframe src="balancesheet.html" id="balance-wrap" frameborder="0"></iframe>
                                </div>
                                <div id="tab2" class="item">
                                    <iframe src="incomesheet.html" id="income-wrap" frameborder="0"></iframe>
                                </div>
                            </div>
                        </div>

                    </div>
                    <input name="market-report" id="ceo-sc" type="button" title="点击查看市场预测报告"/>
                    <!--市场预测弹出框-->
                    <div class="pop2">
                        <div class="pop-head">
                            <input type="button" value="关闭" class="pop-cancel pop-close">
                        </div>
                        <div class="tab-contain">
                        <ul id="tabs">
                            <li class="current"><a href="#" title="tab3">数量预测</a></li>
                            <li><a href="#" title="tab4">金额预测</a></li>
                            <li><a href="#" title="tab5">平均单价预测</a></li>
                        </ul>
                            <div id="pop-content">
                            <div id="tab3" class="item show">
                                <iframe src="marketingPre.html" id="marketingpre-wrap" frameborder="0"
                                ></iframe>
                            </div>
                            <div id="tab4" class="item">
                                <iframe src="marketingPrePriceTotal.html" id="marketingprePriceTotal-wrap" frameborder="0"
                                ></iframe>
                            </div>
                                <div id="tab5" class="item">
                                    <iframe src="marketingPrePrice.html" id="marketingprePrice-wrap" frameborder="0"
                                    ></iframe>
                                </div>
                           </div>
                        </div>


                    </div>
                    <!--长期贷款-->
                    <input name="ceo-cz-c" id="ceo-cz-c" class="cz-btn" type="button" title="点击借入长期贷款"/>
                    <div class="pop-s1">
                        <h3>请输入借款金额(5年到期)</h3>
                        <input name="" id="load-c"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="pop-ok" onclick="">
                        </div>
                    </div>

                    <input name="ceo_cz_c1" id="ceo-cz-c1" class="cz" title="5年到期长贷" type="button"/>
                    <input name="ceo_cz_c2" id="ceo-cz-c2" class="cz" title="4年到期长贷" type="button"/>
                    <input name="ceo_cz_c3" id="ceo-cz-c3" class="cz" title="3年到期长贷" type="button"/>
                    <input name="ceo_cz_c4" id="ceo-cz-c4" class="cz" title="2年到期长贷" type="button"/>
                    <input name="ceo_cz_c5" id="ceo-cz-c5" class="cz" title="1年到期长贷" type="button"/>
                    <!--短期贷款-->
                    <input name="ceo-cz-d" id="ceo-cz-d" class="cz-btn" type="button" title="点击借入短期贷款"/>
                    <div class="pop-s2">
                        <h3>请输入借款金额(1年到期)</h3>
                        <input name="" id="load-d"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="pop-ok1">
                        </div>
                    </div>
                    <input name="ceo_cz_d1" id="ceo-cz-d1" class="cz" title="4个Q到期短贷" type="button"/>
                    <input name="ceo_cz_d2" id="ceo-cz-d2" class="cz" title="3个Q到期短贷" type="button"/>
                    <input name="ceo_cz_d3" id="ceo-cz-d3" class="cz" title="2个Q到期短贷" type="button"/>
                    <input name="ceo_cz_d4" id="ceo-cz-d4" class="cz" title="1个Q到期短贷" type="button"/>
                    <!--高利贷-->
                    <input name="ceo-cz-gl" id="ceo-cz-gl" class="cz-btn" type="button" title="点击借入或偿还高利贷"/>
                    <div class="pop-s3">
                        <h3>请输入借(+)还(-)款金额(无到期日，每季结息)</h3>
                        <input name="" id="load-g"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="pop-ok2">
                        </div>
                    </div>
                    <input name="ceo_cz_g" id="ceo-cz-g" class="cz" type="button"/>

                    <input name="ceo_tz_ma1" id="ceo-tz-ma1" class="tz1" type="button" title="点击开拓区域市场"/>
                    <div class="pop-s4">
                        <h3>确认投资？（1M/Q）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消" id="cancel-qy" class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-qy" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-qy" class="tz-text">区域</h4>

                    <input name="ceo_tz_ma2" id="ceo-tz-ma2" class="tz1" type="button" title="点击开拓国内市场"/>
                    <div class="pop-s5">
                        <h3>确认投资？（1M/Q）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消" id="cancel-gn" class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-gn" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-gn" class="tz-text">国内</h4>

                    <input name="ceo_tz_ma3" id="ceo-tz-ma3" class="tz1" type="button" title="点击开拓亚洲市场"/>
                    <div class="pop-s6">
                        <h3>确认投资？（1M/Q）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消" id="cancel-yz"  class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-yz" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-yz" class="tz-text">亚洲</h4>

                    <input name="ceo_tz_ma4" id="ceo-tz-ma4" class="tz1" type="button" title="点击开拓国际市场"/>
                    <div class="pop-s7">
                        <h3>确认投资？（1M/Q）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消"  id="cancel-gj" class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-gj" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-gj" class="tz-text">国际</h4>

                    <input name="ceo_tz_p1" id="ceo-tz-pr1" class="tz5" type="button" title=""/>
                    <div class="pop-s8">
                        <h3>确认投资？（1M/Q）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消" id="cancel-p1" class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-p1" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-p1" class="tz-text">P1</h4>

                    <input name="ceo_tz_p2" id="ceo-tz-pr2" class="tz1" type="button" title="点击投入P2研发"/>
                    <div class="pop-s9">
                        <h3>确认投资？（1M/Q,总周期6Q）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消" id="cancel-p2" class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-p2" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-p2" class="tz-text">P2</h4>

                    <input name="ceo_tz_p3" id="ceo-tz-pr3" class="tz1" type="button" title="点击投入P3研发"/>
                    <div class="pop-s10">
                        <h3>确认投资？（2M/Q,总周期6Q）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消" id="cancel-p3" class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-p3" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-p3" class="tz-text">P3</h4>

                    <input name="ceo_tz_p4" id="ceo-tz-pr4" class="tz1" type="button" title="点击投入P4研发"/>
                    <div class="pop-s11">
                        <h3>确认投资？（3M/Q,总周期6Q）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消" id="cancel-p4" class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-p4" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-p4" class="tz-text">P4</h4>

                    <input name="ceo_tz_iso1" id="ceo-tz-iso1" class="tz1" type="button" title="点击投入ISO9K认证"/>
                    <div class="pop-s12">
                        <h3>确认投资？（1M/年，总周期2年）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消" id="cancel-9k" class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-9k" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-iso9k" class="tz-text">ISO9000</h4>

                    <input name="ceo_tz_iso2" id="ceo-tz-iso2" class="tz1" type="button" title="点击投入ISO14K认证"/>
                    <div class="pop-s13">
                        <h3>确认投资？（1M/年，总周期3年）</h3>
                        <div class="pop-foot">
                            <input type="button" value="取消" id="cancel-14k" class="pop-cancel pop-close">
                            <input type="button" value="确认" id="ok-14k" class="pop-ok">
                        </div>
                    </div>
                    <h4 id="ceo-tz-iso14k" class="tz-text">ISO14000</h4>
                </div>
                <div id="financial">
                    <h2 id="cash" class="text">0</h2>


                    <input name="fin-1" id="fin-1" class="text" value= "0" type="button" title="点击可贴现"/>
                    <div class="pop-f1-1">
                        <h3>请输入贴现一期金额</h3>
                        <input name="" id="cash-1"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="fin-ok">
                        </div>
                    </div>
                    <input name="fin-2" id="fin-2" class="text" value= "0" type="button" title="点击可贴现"/>
                    <input name="fin-3" id="fin-3" class="text" value= "0" type="button" title="点击可贴现"/>
                    <input name="fin-4" id="fin-4" class="text" value= "0" type="button" title="点击可贴现"/>


                    <h5 id="fin-wx" class="text">0</h5>
                    <h5 id="fin-gg" class="text">0</h5>
                    <h5 id="fin-bg" class="text">0</h5>
                    <h5 id="fin-zj" class="text">0</h5>
                    <h5 id="fin-sds" class="text">0</h5>
                </div>
                <div id="marketing">
                    <input name="order" id="order" type="button" title="点击进入投放广告及参加订货会"/>


                    <div class="pop-marketing">
                        <iframe src="ordermanagement.html" id="order-wrap" frameborder="0"  ></iframe>
                        <div class="pop-foot">
                            <input type="button" value="关闭" class="pop-cancel pop-close">
                        </div>
                    </div>
                    <div class="pop-advertise">
                        <iframe src="advertise.html" id="advertise-wrap" frameborder="0"  ></iframe>
                        <div class="pop-foot-advertise">
                            <input type="button" value="关闭" class="pop-cancel pop-close">
                            <input type="button" value="参加订货会" id="ok-tomarketing" class="pop-ok">
                        </div>
                    </div>



                    <div id="orderlist1" class="orderlist"><h5 id="p1-list">查询订单</h5></div>
                    <div class="pop-p1">
                        <div class="pop-foot">
                            <input type="button" value="关闭" class="pop-cancel pop-close">
                        </div>
                        <h4>P1未交付订单列表</h4>
                        <div  id="ordermanagement1"  class="pop-p-scroll"></div>

                    </div>
                    <div id="orderlist2" class="orderlist"><h5 id="p2-list">查询订单</h5></div>
                    <div class="pop-p2">
                        <div class="pop-foot">
                            <input type="button" value="关闭" class="pop-cancel pop-close">
                        </div>
                        <h4>P2未交付订单列表</h4>
                        <div  id="ordermanagement2"  class="pop-p-scroll"></div>

                    </div>
                    <div id="orderlist3" class="orderlist"><h5 id="p3-list">查询订单</h5></div>
                    <div class="pop-p3">
                        <div class="pop-foot">
                            <input type="button" value="关闭" class="pop-cancel pop-close">
                        </div>
                        <h4>P3未交付订单列表</h4>
                        <div  id="ordermanagement3"  class="pop-p-scroll"></div>

                    </div>
                    <div id="orderlist4" class="orderlist"><h5 id="p4-list">查询订单</h5></div>
                    <div class="pop-p4">
                        <div class="pop-foot">
                            <input type="button" value="关闭" class="pop-cancel pop-close">
                        </div>
                        <h4>P4未交付订单列表</h4>
                        <div  id="ordermanagement4" class="pop-p-scroll"></div>

                    </div>


                </div>

                <div id="management">
                    <h4 id="mag-p1" class="text">p1</h4>
                    <h4 id="mag-p2" class="text">p2</h4>
                    <h4 id="mag-p3" class="text">p3</h4>
                    <h4 id="mag-p4" class="text">p4</h4>

                    <h4 id="mag-r1" class="text">r4</h4>
                    <h4 id="mag-r2" class="text">r3</h4>
                    <h4 id="mag-r3" class="text">r2</h4>
                    <h4 id="mag-r4" class="text">r1</h4>

                    <input name="r1_1" id="r1-1" class= "van" type="button" value="" title="点击下R1订单"/>
                    <div class="pop-r1-1">
                        <h3>请输入R1购买数量</h3>
                        <h3>(每单位价值为1M，货到付款)</h3>
                        <input name="" id="buy-r1-1"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="ok-r1-1">
                        </div>
                    </div>
                    <input name="r2_1" id="r2-1" class= "van" type="button" value="" title="点击下R2订单"/>
                    <div class="pop-r2-1">
                        <h3>请输入R2购买数量</h3>
                        <h3>(每单位价值为1M，货到付款)</h3>
                        <input name="" id="buy-r2-1"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="ok-r2-1">
                        </div>
                    </div>
                    <input name="r3_1" id="r3-1" class= "van" type="button" value="" title="R3在途订单"/>
                    <div class="pop-r3-1">
                        <h3>请输入R3购买数量(每单位价值为1M)</h3>
                        <input name="" id="buy-r3-1"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="ok-r3-1">
                        </div>
                    </div>
                    <input name="r3_2" id="r3-2" class= "van" type="button" value="" title="点击下R3订单"/>
                    <div class="pop-r3-2">
                        <h3>请输入R3购买数量</h3>
                        <h3>(每单位价值为1M，货到付款)</h3>
                        <input name="" id="buy-r3-2"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="ok-r3-2">
                        </div>
                    </div>
                    <input name="r4_1" id="r4-1" class= "van" type="button" value="" title="R4在途订单"/>
                    <div class="pop-r4-1">
                        <h3>请输入R4购买数量(每单位价值为1M)</h3>
                        <input name="" id="buy-r4-1"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="ok-r4-1">
                        </div>
                    </div>
                    <input name="r4_2" id="r4-2" class= "van" type="button" value="" title="点击下R4订单"/>
                    <div class="pop-r4-2">
                        <h3>请输入R4购买数量</h3>
                        <h3>(每单位价值为1M，货到付款)</h3>
                        <input name="" id="buy-r4-2"/>
                        <div class="pop-foot">
                            <input type="button" value="取消" class="pop-cancel pop-close">
                            <input type="button" value="确定" class="pop-ok" id="ok-r4-2">
                        </div>
                    </div>

                </div>
                <div id="production">
                    <input name="pro" id="pro-btn" type="button" title="点击进入厂房管理页面"/>


                    <input type="hidden" name="productLineNumber" id="productLineNumber" value="0">
                    <div id="pro-l-1" class="pro-line" title="点击操作生产线"></div>
                    <div id="pro-l-2" class="pro-line" title="点击操作生产线"></div>
                    <div id="pro-l-3" class="pro-line" title="点击操作生产线"></div>
                    <div id="pro-l-4" class="pro-line" title="点击操作生产线"></div>
                    <div id="pro-l-5" class="pro-line" title="点击操作生产线"></div>
                    <div id="pro-l-6" class="pro-line" title="点击操作生产线"></div>

                    <div id="pro-r-1" class="pro-line" title="点击操作生产线"></div>
                    <div id="pro-r-2" class="pro-line" title="点击操作生产线"></div>
                    <div id="pro-r-3" class="pro-line" title="点击操作生产线"></div>
                    <div id="pro-r-4" class="pro-line" title="点击操作生产线"></div>




                    <div id="pro-l-1-sg" class="pro-sg-l"></div>
                    <div id="pro-l-2-sg" class="pro-sg-l"></div>
                    <div id="pro-l-3-sg" class="pro-sg-l"></div>
                    <div id="pro-l-4-sg" class="pro-sg-l"></div>
                    <div id="pro-l-5-sg" class="pro-sg-l"></div>
                    <div id="pro-l-6-sg" class="pro-sg-l"></div>

                    <div id="pro-r-1-sg" class="pro-sg-r"></div>
                    <div id="pro-r-2-sg" class="pro-sg-r"></div>
                    <div id="pro-r-3-sg" class="pro-sg-r"></div>
                    <div id="pro-r-4-sg" class="pro-sg-r"></div>

                    <div id="pro-l-1-bzd" class="pro-bzd-l"></div>
                    <div id="pro-l-2-bzd" class="pro-bzd-l"></div>
                    <div id="pro-l-3-bzd" class="pro-bzd-l"></div>
                    <div id="pro-l-4-bzd" class="pro-bzd-l"></div>
                    <div id="pro-l-5-bzd" class="pro-bzd-l"></div>
                    <div id="pro-l-6-bzd" class="pro-bzd-l"></div>


                    <div id="pro-r-1-bzd" class="pro-bzd-r"></div>
                    <div id="pro-r-2-bzd" class="pro-bzd-r"></div>
                    <div id="pro-r-3-bzd" class="pro-bzd-r"></div>
                    <div id="pro-r-4-bzd" class="pro-bzd-r"></div>

                    <div id="pro-l-1-zd" class="pro-zd-l"></div>
                    <div id="pro-l-2-zd" class="pro-zd-l"></div>
                    <div id="pro-l-3-zd" class="pro-zd-l"></div>
                    <div id="pro-l-4-zd" class="pro-zd-l"></div>
                    <div id="pro-l-5-zd" class="pro-zd-l"></div>
                    <div id="pro-l-6-zd" class="pro-zd-l"></div>

                    <div id="pro-r-1-zd" class="pro-zd-r"></div>
                    <div id="pro-r-2-zd" class="pro-zd-r"></div>
                    <div id="pro-r-3-zd" class="pro-zd-r"></div>
                    <div id="pro-r-4-zd" class="pro-zd-r"></div>

                    <div id="pro-l-1-rx" class="pro-rx-l"></div>
                    <div id="pro-l-2-rx" class="pro-rx-l"></div>
                    <div id="pro-l-3-rx" class="pro-rx-l"></div>
                    <div id="pro-l-4-rx" class="pro-rx-l"></div>
                    <div id="pro-l-5-rx" class="pro-rx-l"></div>
                    <div id="pro-l-6-rx" class="pro-rx-l"></div>

                    <div id="pro-r-1-rx" class="pro-rx-r"></div>
                    <div id="pro-r-2-rx" class="pro-rx-r"></div>
                    <div id="pro-r-3-rx" class="pro-rx-r"></div>
                    <div id="pro-r-4-rx" class="pro-rx-r"></div>

                </div>
            </div>
        </div>
    </div>

</div>

<!--//以下都是弹窗部分
//弹窗-结算本季-->


<div class="pop-jz">

    <h3>结转本季内容包括：</h3>
    1.生产线的生产进度刷新，产品入库。<br/>
    2.物料管理部采购订单交付，库存刷新。<br/>
    3.财务部“现金池”刷新，扣减当期费用，自动计算现金余额及财务报表。 <br/>
    4.注意：结转过程计算耗时较长，沙盘左上角“系统设置”的季度跳转，表示结转完成。
    <h3>是否结转本季?</h3><div class="jz-timeg"></div>
    <div class="pop-foot">
        <input type="button" value="取消" class="pop-cancel pop-close">
        <input type="button" name="closing"  title="结转本季跳转到下一季" value="结转" class="pop-btn-closing" id="closing">
    </div>
</div>


<div class="pop-userset">
    <table  style ='width: 95%;'>
        <tr>
            <td style="width:100px;">用户姓名或呢称：</td><td><div id="userset-ilabname"></div></td>
        </tr>
        <tr>
            <td style="width:100px;">用户识别码：</td><td><div id="userset-user"></div></td>
        </tr>
        <tr>
            <td style="width:100px;">经营期间：</td><td><div id="userset-period"></div></td>
        </tr>

    </table>
    <div class="reload-timeg"></div>
    <div class="pop-foot">
        <input name="showrule" id="showrule"  type="button" value="规则说明" class="pop-cancel pop-close">
        <input name="final" id="final"  type="button" value="全屏模式" title="在新的网页显示实验台" class="pop-cancel pop-close">
        <input name="priordata" id="priordata" title="将经营状态退回到上一季起始" type="button" value="回退" class="pop-btn-closing">
        <input name="reloaddata" id="reloaddata" title="将经营状态重置为第1年第1季" type="button" value="初始化" class="pop-btn-closing">
        <input type="button" value="关闭" class="pop-cancel pop-close">
    </div>
</div>


<!--//弹窗-经营推演规则-->
<div class="pop-rule">
    <div class="rule-scrollbox">
       <div id="rule-content"></div>
        <div class="pop-foot-rule">
            <input type="button" value="关闭" class="pop-cancel pop-close">
        </div>
    </div>

</div>

<!--//弹窗-厂房的操作-->
<div class="pop-factory">
    <table style ='width: 385px;'>
        <tr>
            <td>类型</td><td>状态</td>
            <td>操作</td>
        </tr>
        <tr>
            <td>大厂房（买价40M，租金5M/Q）</td><td><div id="factory-1-state"></div></td>
            <td> <input type="button" value="购买" class="pop-ok" id="ok-factory1-buy">
                <input type="button" value="出售" class="pop-ok" id="ok-factory1-sale">
                <input type="button" value="租赁" class="pop-ok" id="ok-factory1-rent"> </td>
        </tr>
        <tr>
            <td>小厂房（买价3M，租金3M/Q）</td><td><div id="factory-2-state"></div></td>
            <td> <input type="button" value="购买" class="pop-ok" id="ok-factory2-buy">
                <input type="button" value="出售" class="pop-ok" id="ok-factory2-sale">
                <input type="button" value="租赁" class="pop-ok" id="ok-factory2-rent"> </td>
        </tr>
    </table>
    <div class="pop-foot">
        <input type="button" value="取消" class="pop-cancel pop-close">
    </div>

</div>

<!--点击每条生产线的弹窗部分BEGIN-->
<div class="pop-pro">
    <input type="hidden" name="plnValue" id="plnValue" value="0">
    <div class ="pro-status">
        <table style ='width: 385px;'>
            <tr><td>  <div>生产线类型：</div></td>
                <td><div name ="productLineTypeId" id="productLineTypeId" ></div></td>
                <td>    <div>在产产品类型：</div></td>
                <td>   <div name ="productC" id="productC" ></div></td></tr>
            <tr>
                <td>     <div>生产总周期：</div></td>
                <td> <div name ="processingCycle" id="processingCycle" ></div></td>
                <td>   <div>当前周期：</div></td>
                <td>       <div name ="processingCycelB" id="processingCycleB" ></div></td>
            </tr>
        </table>
        <div class="pop-foot">
            <!--H 生产线投资-->
            <input type="button" value="取消" class="pop-cancel pop-close">
        </div>
    </div>

    <div class ="newBuild">
        <table style ='width: 385px;'>
            <tr>
                <td>生产线类型：</td>
                <td>  <select id="productLineTypeIdList" name="productLineTypeIdList" class="select2">
                    <option value="手工线">手工线(每季投资5M，安装周期1)</option>
                    <option value="半自动">半自动(每季投资5M，安装周期2)</option>
                    <option value="全自动">全自动(每季投资5M，安装周期3)</option>
                    <option value="柔性线">柔性线(每季投资5M，安装周期4)</option>
                </select></td>
            </tr>
            <tr>
                <td>产品类型：</td>
                <td><select id="productCTypeList" name="productCTypeList" class="select2">
                    <option value="P1">P1-(产品结构：R1)</option>
                    <option value="P2">P2-(产品结构：R1+R3)</option>
                    <option value="P3">P3-(产品结构：2R2+R3)</option>
                    <option value="P4">P4-(产品结构：R2+R3+2R4)</option>
                </select></td>
            </tr>
        </table>
        <div class="pop-foot">
            <input type="button" value="取消" class="pop-cancel pop-close">
            <input type="button" value="投资" class="pop-ok" id="ok-pro-newBuild">
        </div>
    </div>
    <div class ="pro-build">
        <table style ='width: 385px;'>
            <tr>
                <td>     <div> 生产线类型：</div></td>
                <td>        <div name ="productLineTypeId-build" id="productLineTypeId-build" ></div></td>
                <td>   <div>总价值：</div></td>
                <td>    <div name ="deviceValue" id="deviceValue" ></div></td>
            </tr>
            <tr>
                <td> <div>已投金额：</div></td>
                <td colspan="3">   <div name ="investmentAmountA" id="investmentAmountA" ></div></td>
            </tr>
        </table>
        <div class="pop-foot">
            <input type="button" value="取消" class="pop-cancel pop-close">
            <input type="button" value="投资" class="pop-ok" id="ok-pro-build">
        </div>
    </div>

    <div class ="pro-produce">
        <table style ='width: 385px;'>
            <tr>
                <td>     <div> 生产线类型：</div></td>
                <td>        <div name ="productLineTypeIdT" id="productLineTypeIdT" ></div></td>
            </tr>
            <tr>
                <td>投产产品类型：</td>
                <td><select id="productCList" name="productCList" class="select2">
                    <option value="P1">P1-(产品结构：R1)</option>
                    <option value="P2">P2-(产品结构：R1+R3)</option>
                    <option value="P3">P3-(产品结构：2R2+R3)</option>
                    <option value="P4">P4-(产品结构：R2+R3+2R4)</option>
                </select></td>
            </tr>
        </table>


        <div class="pop-foot">
            <input type="button" value="取消" class="pop-cancel pop-close">
            <input type="button" value="转产" class="pop-ok" id="ok-pro-switching">
            <input type="button" value="投产" class="pop-ok" id="ok-pro-produce">
            <input type="button" value="出售" class="pop-ok" id="ok-pro-sale">
        </div>
    </div>


    <div class ="pro-sale">
        <h3>生产线已出售，本期结转后才能操作。</h3>
        <div class="pop-foot">
            <input type="button" value="取消" class="pop-cancel pop-close">
        </div>
    </div>

</div>
<!--点击每条生产线的弹窗部分END-->
<!--悬浮窗体-->
<div id = "menuUserSet" class = "userset" title="点击进入系统设置">
    <p>系统设置</p>
    <div id="tip-period" style="color: white;font-weight: bold;font-variant: normal;padding-top:15px;"></div>
</div>

<!--//这一部分代码是接口专用BEGIN-->
<input type="hidden" name="eId" id="eId"  value = "0" />
<input type="hidden" name="expScore" id="expScore"  value = "0" />
<input type="hidden" name="startPointH" id="startPointH"  value = "0" />
<input type="hidden" name="startPointM" id="startPointM"  value = "0" />
<!--//这一部分代码是接口专用END-->

<input type="hidden" id = "currentAp" name ="currentAp" value="">
<input type="hidden" id = "currentUser" name ="currentUser" value="">
<input type="hidden" id = "currentTeam" name ="currentTeam" value="">

<script>

    var myStartPoint = new Date();/*//获取当前时间*/
    $("#startPointH").val(myStartPoint.getHours());
    $("#startPointM").val(myStartPoint.getMinutes());

    console.log('加载完成时间：'+myStartPoint.getHours()+'时-'+myStartPoint.getMinutes()+'分');




</script>
</body>

</html>